﻿@model CultuRAM.Models.AccreditingRequest

@{
    ViewBag.Title = "Eliminar";
}

<div class="alert alert-danger" style="min-height: 490px; margin-top: 10px;">

    <h4><i class="icon-trash"></i> Eliminar Pedido de Adesão</h4>

    <h3>Tem certeza de que deseja eliminar o registo?</h3>

    <fieldset>
        <legend>Dados do Pedido</legend>
 @*       <p>
            <span class="display-label">
                <b>@Html.DisplayNameFor(model => model.RequestDate):</b>
            </span>
            <span class="display-field">
                @Html.DisplayFor(model => model.RequestDate).ToString()
            </span>
        </p>*@
        @*         <p>
            <span class="display-label">
                <b>@Html.DisplayNameFor(model => model.AccreditingState.AccState):</b>
            </span>
            <span class="display-field">
                @Html.DisplayFor(model => model.AccreditingState.AccState)
            </span>
        </p>*@
          <p>
            <span class="display-label">
                <b>@Html.DisplayNameFor(model => model.RequestCode):</b>
            </span>
            <span class="display-field">
                @Html.DisplayFor(model => model.RequestCode)
            </span>
        </p>
        <p>
            <span class="display-label">
                <b>@Html.DisplayNameFor(model => model.Entity.Name):</b>
            </span>
            <span class="display-field">
                @Html.DisplayFor(model => model.Entity.Name)
            </span>
        </p>
                <p>
            <span class="display-label">
                <b>@Html.DisplayNameFor(model => model.Entity.EntityType.EntityTypeName):</b>
            </span>
            <span class="display-field">
                @Html.DisplayFor(model => model.Entity.EntityType.EntityTypeName)
            </span>
        </p>
        
    </fieldset>
    <br/><br/>
    <b>ATENÇÃO!</b><br />
    <span>O registo será eliminado definitivamente. Pretende Continuar?</span>
    <p>
    <br/><br />
    @using (Html.BeginForm())
    {
        <p>
            <button  type="submit" value="Eliminar" class="btn btn-danger"><i class="icon-ok icon-white"></i> Sim</button>
            <a href="@Url.Action("Index", "AccreditingRequest")" class="btn btn-default"><i class="icon-ban-circle"></i> Não</a>
        </p>
    }
</div>
